<?php
/**
 * @copyright meila.com
 * @author shaopu@
 * @name
 * @param
 *         $xxx = 作用
 * @static
 *         XXX = 作用
 *
 *
 */
include_once '../../__global.php';
class aj_albumList extends ml_controller{
    private $class_id;
    private $arrAlert = array('class_id'=>'class_id');
    function initParam() {
        $this->class_id = $this->input('class_id','G',0);            //类型
    }
    function checkParam(){
        $this->check_referer();
        if(empty($this->class_id)) $this->api_output(ML_RCODE_PARAM , '', $this->arrAlert['class_id']);

    }
    function main() {
        $data = ml_tool_getdata::lbJsonData('tag_class'.$this->class_id, 'tag');
        if($data){
            $this->api_output(ML_RCODE_SUCC, $data);
        }else{
            $this->api_output(ML_RCODE_BUSY);
        }
    }
}

new aj_albumList();
